package cn.fsd.vo;

import cn.fsd.domain.Task;
import lombok.Data;

@Data
public class TaskBean extends Task {

  String customer_name;

  /**
   * 客户电话
   */
  String mobile_phone;

  /**
   * 客户满意度
   */
  Integer customer_satisfaction;

  String delivery_address;

  String commodity_name;

  /**
   * 商品单价
   */
  Long original_price;

  String postal_code;

  String courier_name;

  /**
   * 商品数量
   */
  Integer commodity_num;

  /**
   * 商品总价
   */
  Long order_total_amount;

  String note;

  String station_name;

  String station_place;

  String station_phone;

  Integer is_invoice;


  public TaskBean(Task task) {
    super(task.getTask_id(), task.getOrder_id(), task.getStation_id(), task.getTask_genDate(),
        task.getTask_finDate(), task.getTask_deliveryDate(), task.getTask_type(),
        task.getTask_status(), task.getCount_inTask(), task.getCourier_id());
  }
}
